import 'dart:convert';

class BaseOpt extends Object {
  String? method;
  BaseOpt({this.method}) {
    this.pa();
  }
  pa() {
    var m = method;
    print('....ppp=$m');
  }
}

void main() {
  Map map1 = const {
    'a': 'a1',
    'b': {'bb': 'bbbb'},
    'c': 'c1'
  };
  Map map2 = {'a': 'aaaa'};

  map2.addAll(map1);

  var opt = BaseOpt(method: "POST");
  print(opt.toString());
}
